@extends('layouts.master')

@section('title')
    产品审核——钢链网管理后台
@stop

@section('app_css')
    <link rel="stylesheet" href="/resource/css/bootstrap.min.css">
    <link rel="stylesheet" href="/resource/css/font-awesome.min.css">
    <link rel="stylesheet" href="/resource/css/animate.min.css">
    <link rel="stylesheet" href="/resource/css/custom.css">
    <link rel="stylesheet" href="/resource/css/green.css">
    <link rel="stylesheet" href="/resource/css/fileinput.min.css">
    @stop

@section('app_js')
    <!--[if lt IE 9]>
    <script type="text/javascript" src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script type="text/javascript" src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <script type="text/javascript" src="/resource/js/jquery.min.js"></script>
    <script type="text/javascript" src="/resource/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="/resource/js/custom.js"></script>
    <!-- icheck -->
    <script type="text/javascript" src="/resource/js/icheck.min.js"></script>
    <!-- Datatables -->
    <script type="text/javascript" src="/resource/js/jquery.dataTables.js"></script>
    <script type="text/javascript" src="/resource/js/J_main.js"></script>
@stop

@section('content')
    <body class="nav-md">

    <div class="container body">


        <div class="main_container">

            @include('common.admin_menu')

                    <!-- top navigation -->
            @include('common.admin_nav')
                    <!-- /top navigation -->


            <!-- page content -->
            <div class="right_col" role="main">

                <div class="">

                    <div class="row cont">

                        <div class="col-md-6 col-sm-12 col-xs-12">
                            <div class="x_panel">
                                <div class="x_title">
                                    <h2>产品审核<small>产品管理</small></h2>
                                    <div class="clearfix"></div>
                                </div>

                                <div class="x_content">
                                    <br />

                                    <div class="form-group">
                                        <label class="control-label col-md-2 col-sm-2 col-xs-12" for="first-name">产品名称
                                        </label>
                                        <div class="col-md-10 col-sm-10 col-xs-12">
                                           {{$product->product_name}}
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="control-label col-md-2 col-sm-2 col-xs-12" for="last-name">产品货号
                                        </label>
                                        <div class="col-md-10 col-sm-10 col-xs-12">
                                            {{$product->product_sn}}
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="middle-name" class="control-label col-md-2 col-sm-2 col-xs-12">库存</label>
                                        <div class="col-md-10 col-sm-10 col-xs-12">
                                            {{$product->stock}}
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="middle-name" class="control-label col-md-2 col-sm-2 col-xs-12">分类</label>
                                        <div class="col-md-10 col-sm-10 col-xs-12">
                                            {{$product->category}}
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="middle-name" class="control-label col-md-2 col-sm-2 col-xs-12">材质</label>
                                        <div class="col-md-10 col-sm-10 col-xs-12">
                                            {{$product->classes}}
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="middle-name" class="control-label col-md-2 col-sm-2 col-xs-12">所属种类</label>
                                        <div class="col-md-10 col-sm-10 col-xs-12">
                                            {{$product->quality}}
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="middle-name" class="control-label col-md-2 col-sm-2 col-xs-12">价格</label>
                                        <div class="col-md-10 col-sm-10 col-xs-12">
                                            {{$product->price}}
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="middle-name" class="control-label col-md-2 col-sm-2 col-xs-12">商品描述</label>
                                        <div class="col-md-10 col-sm-10 col-xs-12">
                                          {{$product->description}}
                                        </div>
                                    </div>

                                    <div class="form-group">
                                        <label for="middle-name" class="control-label col-md-2 col-sm-2 col-xs-12">产地</label>
                                        <div class="col-md-10 col-sm-10 col-xs-12">
                                            {{$product->place}}
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="middle-name" class="control-label col-md-2 col-sm-2 col-xs-12">规格</label>
                                        <div class="col-md-10 col-sm-10 col-xs-12">
                                            {{$product->spec}}
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="middle-name" class="control-label col-md-2 col-sm-2 col-xs-12">仓储地</label>
                                        <div class="col-md-10 col-sm-10 col-xs-12">
                                            {{$product->storage}}
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="middle-name" class="control-label col-md-2 col-sm-2 col-xs-12">仓储地电话</label>
                                        <div class="col-md-10 col-sm-10 col-xs-12">
                                            {{$product->phone}}
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="middle-name" class="control-label col-md-2 col-sm-2 col-xs-12">起订量</label>
                                        <div class="col-md-10 col-sm-10 col-xs-12">
                                            {{$product->start_num}}
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="middle-name" class="control-label col-md-2 col-sm-2 col-xs-12">详情图一</label>
                                        <div class="col-md-10 col-sm-10 col-xs-12">
                                            <div><img src="{{$product->show_img1}}" alt="" width="350"></div>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="middle-name" class="control-label col-md-2 col-sm-2 col-xs-12">详情图二</label>
                                        <div class="col-md-10 col-sm-10 col-xs-12">
                                            <div><img src="{{$product->show_img2}}" alt="" width="350"></div>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="middle-name" class="control-label col-md-2 col-sm-2 col-xs-12">详情图三</label>
                                        <div class="col-md-10 col-sm-10 col-xs-12">
                                            <div><img src="{{$product->show_img3}}" alt="" width="350"></div>
                                        </div>
                                    </div>
                                    {{ Form::open(['url'=>'/admin/product_examine_action', 'id'=>'demo-form2', 'class'=> 'form-horizontal form-label-left', 'files' => true, 'method' => 'post']) }}
                                    <input type="hidden" name="product_id" value="{{$product->product_id}}">
                                    <div class="ln_solid"></div>
                                    <div class="form-group">
                                        <label for="middle-name" class="control-label col-md-2 col-sm-2 col-xs-12">审核状态</label>
                                        <div class="col-md-10 col-sm-10 col-xs-12">
                                            <select name="status">
                                                <option value="1">审核通过</option>
                                                <option value="2">审核不通过</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label for="middle-name" class="control-label col-md-2 col-sm-2 col-xs-12">审核描述</label>
                                        <div class="col-md-10 col-sm-10 col-xs-12">
                                            <textarea name="examine"></textarea>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <div class="col-md-10 col-sm-10 col-xs-12 col-md-offset-3">
                                            <button type="reset" class="btn btn-primary">取消</button>
                                            <button type="submit" class="btn btn-success">提交</button>
                                        </div>
                                    </div>

                                    {{ Form::close() }}
                                </div>
                            </div>
                        </div>

                        <br />
                        <br />
                        <br />

                    </div>
                </div>

                <!-- footer content -->

                <footer>
                    <div class="">
                        <p class="pull-right">Copyright 2016 ganglianw.com All rights reserved. |
                            <span class="lead"> <i class="fa fa-logo-footer"></i> 钢链网后台管理系统</span>
                        </p>
                    </div>
                    <div class="clearfix"></div>
                </footer>
                <!-- /footer content -->
            </div>
            <!-- /page content -->

        </div>
    </div>

    <div id="custom_notifications" class="custom-notifications dsp_none">
        <ul class="list-unstyled notifications clearfix" data-tabbed_notifications="notif-group">
        </ul>
        <div class="clearfix"></div>
        <div id="notif-group" class="tabbed_notifications"></div>
    </div>
    </body>
@stop